package cn.stylefeng.guns.modular.tool.service;

import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.tool.entity.ToolExpressReconciliationRf;
import cn.stylefeng.guns.modular.tool.model.params.ToolExpressReconciliationRfParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolExpressReconciliationRfResult;

/**
 * <p>
 * 软风对账管理 服务类
 * </p>
 *
 * @author zhucx
 * @since 2022-12-27
 */
public interface ToolExpressReconciliationRfService extends IService<ToolExpressReconciliationRf> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2022-12-27
     */
    void add(ToolExpressReconciliationRfParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2022-12-27
     */
    void delete(ToolExpressReconciliationRfParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2022-12-27
     */
    void update(ToolExpressReconciliationRfParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-12-27
     */
    ToolExpressReconciliationRfResult findBySpec(ToolExpressReconciliationRfParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2022-12-27
     */
    List<ToolExpressReconciliationRfResult> findListBySpec(ToolExpressReconciliationRfParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-12-27
     */
     LayuiPageInfo findPageBySpec(ToolExpressReconciliationRfParam param,String condition);

	void deleteBySpec(ToolExpressReconciliationRfParam param);

	boolean saveBatchList(List<ToolExpressReconciliationRfParam> list);

	Workbook exportToExcel(Long reconciliationId,String v1);

}
